<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../../js/mui.min.js"></script>
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<!--标准mui.css-->
		<link rel="stylesheet" href="../../css/mui.min.css">
		<link rel="stylesheet" href="../../css/global.css">
		<link rel="stylesheet" type="text/css" href="../../css/app.css" />
		<script src="../../js/getURLParam.js"></script>
		<script type="text/javascript" charset="UTF-8">
			mui.init({
				gestureConfig:{
				   tap: true, //默认为true
				   doubletap: false, //默认为false
				   longtap: true, //默认为false
			  	}
			});
			var sessionid=GetQueryString("sessionid");
	        var proVersion = GetQueryString("proVersion");
	        var appVersion = "2.1.3.1";
	        var productsFlag=GetQueryString("productsFlag");//1：管理版  2：支持板 3:ios
	        var phSystem=GetQueryString("phSystem");
	        getautoList();
			function getautoList(){
	        	
				mui.ajax('../../../APP/autoUpdate',{    
				//mui.ajax('../../../APP/autoUpdate',{     
				data:{param:'{"proVersion":"'+proVersion+'","phSystem":"'+phSystem+'","sessionid":"'+sessionid+'","data":{"productsFlag":"'+productsFlag+'","appVersion":"'+appVersion+'"}}'},
				dataType:'jsonp',//服务器返回json格式数据
				type:'post',//HTTP请求类型
				timeout:10000,//超时时间设置为10秒；
				success:function(data){
					var jsonObj = window.JSON.parse(data);
					if(jsonObj.isFlag=="1"){//有新版本不展示提示
						document.getElementById("ban").style.display="none";
					}else{//无新版本
						document.getElementById("ban").style.display="block";
					}
					
				}
				
			});
		}
		</script>
	</head>

	<body>
		<div class="mui-content">
			
				<div>
					<td width="30%" style="border-bottom:1px solid #A9C0D0;" >
						<div style="text-align:center;" ><img alt=""  src="../../images/drawable-hdpi/about.png" height="50%" width="50%" />
						</div>
					</td>
				</div>
			
			<p style="text-align: center;margin-top: 20px;font-size: 19px;margin-bottom: 30px;color:black;">车队管理版2.1.3.1</p>
			<hr />
			<ul id="list" class="mui-table-view mui-table-view-chevron">
				<li class="mui-table-view-cell" style="color:black;" id="putFunction">
					<span class="mui-navigate-right" >
						功能介绍
					</span>
				</li>

				<li class="mui-table-view-cell" style="color:black;" id="ban">
						检查新版本
					<p  style="color:gray;display:none;float:right">已是最新版本</p>
				</li>
				<li class="mui-table-view-cell" style="color:black;" id="serveClauseno">
					<span class="mui-navigate-right" >
						服务条款
					</span>
				</li>
				<li class="mui-table-view-cell" >
						服务热线：<p id="serviceLine" style="display: inline;font-size: 16px;color:#01AEE3;text-decoration: underline;">400-688-0416</p>
				</li>
			</ul>
			<p style="text-align: center;height: auto;position: relative;top:20px;color:#01AEE3;">版权由康明斯天远所有</p>
		</div>
	</body>
	<script>
		function dial() {
			plus.device.dial("400-688-0416", false);
		}
		
		function gotoback(){
				mui.back();
		}
		//功能介绍交互
		document.getElementById("putFunction").addEventListener("tap",function(){
			window.webkit.messageHandlers.putFunction.postMessage();
		});
		//服务条款
		document.getElementById("serveClauseno").addEventListener("tap",function(){
			window.webkit.messageHandlers.serverclause.postMessage();
		});
		//服务热线
		document.getElementById("serviceLine").addEventListener("tap",function(){
			window.webkit.messageHandlers.call.postMessage("400-688-0416");
		});
		
	</script>

</html>